package org.recruit.system.domain;

import java.util.Date;

/**
 * 企业面试邀请对象 offer
 *
 * @author teapot
 * @date 2020-11-12
 */
public class Offer {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 公司编号
     */
    private Long companyId;

    /**
     * Offer标题
     */
    private String companyOfferTitle;

    /**
     * Offer内容
     */
    private String companyOfferContent;

    /**
     * 发送时间
     */
    private Date offerSendTime;

    /**
     * 个人用户id
     */
    private Long userId;

    /**
     * offer状态
     * 1
     */
    private Long companyOfferStatus;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyOfferTitle(String companyOfferTitle) {
        this.companyOfferTitle = companyOfferTitle;
    }

    public String getCompanyOfferTitle() {
        return companyOfferTitle;
    }

    public void setCompanyOfferContent(String companyOfferContent) {
        this.companyOfferContent = companyOfferContent;
    }

    public String getCompanyOfferContent() {
        return companyOfferContent;
    }

    public void setOfferSendTime(Date offerSendTime) {
        this.offerSendTime = offerSendTime;
    }

    public Date getOfferSendTime() {
        return offerSendTime;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setCompanyOfferStatus(Long companyOfferStatus) {
        this.companyOfferStatus = companyOfferStatus;
    }

    public Long getCompanyOfferStatus() {
        return companyOfferStatus;
    }

    @Override
    public String toString() {
        return "Offer{" +
                "id=" + id +
                ", companyId=" + companyId +
                ", companyOfferTitle='" + companyOfferTitle + '\'' +
                ", companyOfferContent='" + companyOfferContent + '\'' +
                ", offerSendTime=" + offerSendTime +
                ", userId=" + userId +
                ", companyOfferStatus=" + companyOfferStatus +
                '}';
    }
}
